package com.wll.design.责任链.handler;

import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @ClassName: CheckParamFilterObject.java
 * @author: wanglulu
 * @version: 1.0.0
 * @Description: 参数校验 handler
 * @createTime: 2021/11/25 14:18
 */
@Component
@Order(1) // 值越小越先执行
public class CheckParamFilterObject extends AbstractHandler {

    @Override
    void doFilter(HttpServletRequest request, HttpServletResponse response) {
        System.out.println("*********** 参数校验 handler ****************");
    }
}
